import {createRouter, createWebHistory} from "vue-router";


const routes = [
    {path: '/',redirect:'/chat'},
    {path: '/chat', component: () => import('@/views/chat/index.vue')}
]

//@ts-ignore
const router = createRouter({
    routes: routes,
    history: createWebHistory("/newbing")
})

export default router